#include <stdio.h>
//#ifndef _MAIN_CPP_
//#define _MAIN_CPP_
#include "point.h"
#include "strs.h"
#include "stus.h"


void print_base_digit();

int main() {
//    print_base_digit();
//    ptr1();
//    ptr2();
//    ptr3();
//    ptr4();
//    ptr5();
//    ptr6();
//    ptr7();
//    ptr8();
//    ptr11();
//    ptr12();
//    ptr13();
//    ptr14();

//    str1();
//    str2();
//    str3();
//    str4();
//    str5();
//    strus1();
    strus2();
    return 0;
}

void print_base_digit() {
    printf("Hello, World!\n");
    printf("int%d\n", sizeof(int));
    printf("long%d\n", sizeof(long));
    printf("long long%d\n", sizeof(long long));
    printf("short%d\n", sizeof(short));
    printf("char%d\n", sizeof(char));
    printf("unsigned char%d\n", sizeof(unsigned char));
    printf("float%d\n", sizeof(float));
    printf("double%d\n", sizeof(double));
    printf("long double%d\n", sizeof(long double));

    printf("===========================\n");
    printf("-1:%d\n", -1);
    printf("-1:%u\n", -1);//把-1的补码当作无符号数输出，是无符号int最大值4294967295
    char c = 128;
    printf("128:%d\n", c);
    printf("128:%hhd\n", c);
    printf("128:%hd\n", c);
    printf("128:%hu\n", c);
}
